﻿// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"

/**
 * 
 */
class COMBAT_GAME_CPP_API DebugHelper
{
public:
	DebugHelper();

	~DebugHelper();
};

namespace Debug
{
	static void printLog(const FString& message, const FColor color = FColor::Red, float showTime = 2.0f,
	                     int32 inkey = -1)
	{
		if (GEngine != nullptr)
		{
			GEngine->AddOnScreenDebugMessage(inkey, showTime, color, message);
		}

		UE_LOG(LogTemp, Warning, TEXT("%s"), *message);
	}
}
